<?php
$form = $this->form;
$form->setAttribute('action', $this->url('sisesporte-admin', array('controller' => 'estagiario', 'action' => 'new')));
$form->prepare();
echo $this->form()->openTag($form);
?>
<!-- Dados Pessoais -->
<h2>Cadastrar Estagiário</h2>
<div class="row-fluid">
    <div class="span12 column" id="col0">
        <div class="box">
            <h4 class="box-header round-top">
                Dados Pessoais
                <a class="box-btn" title="toggle">
                    <i class="icon-minus"></i>
                </a>
            </h4>
            <div class="box-container-toggle">
                <div class="box-content">
                    <div class="row-fluid">
                        <div class="span6">
                            <div class="controls controls-rows">
                                <?php echo $this->formRow($form->get('noPessoa')) ?>
                            </div>
                        </div>
                        <div class="span6">
                            <div class="controls controls-rows">
                                <?php echo $this->formRow($form->get('txCaminhoFoto')) ?>
                            </div>
                        </div>
                    </div>
                    <div class="row-fluid">
                        <div class="span12">
                            <div class="span3">
                                <div class="input-append date" id="dpDtNascimento"
                                     data-date="<?php echo date('d/m/Y') ?>"
                                     data-date-format="dd/mm/yyyy">
                                         <?php echo $this->formRow($form->get('dtNascimento')) ?>
                                    <span class="add-on"><i class="icon-calendar"></i> </span>
                                </div>
                            </div>
                            <div class="span3" id="">
                                <div class="controls controls-rows">
                                    <?php echo $this->formRow($form->get('nuCpf')) ?>
                                </div>
                            </div>
                        </div>
                        <div class="row-fluid">
                            <div class="span12">
                                <div class="span3" id="">
                                    <div class="controls controls-rows">
                                        <?php echo $this->formRow($form->get('nuIdentidade')) ?>
                                    </div>
                                </div>
                                <div class="span3">
                                    <div class="controls controls-rows">
                                        <?php echo $this->formRow($form->get('sqOrgaoExpIdentidade')) ?>
                                    </div>
                                </div>
                                <div class="span3">
                                    <div class="controls controls-rows">
                                        <?php echo $this->formRow($form->get('sqUfOrgExpedidor')) ?>
                                    </div>
                                </div>
                                <div class="span3">
                                    <div class="input-append date" id="dpDtExpedicao"
                                         data-date="<?php echo date('d/m/Y') ?>"
                                         data-date-format="dd/mm/yyyy">
                                             <?php echo $this->formRow($form->get('dtExpedicao')) ?>
                                        <span class="add-on"><i class="icon-calendar"></i> </span>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row-fluid">
                            <div class="span12">
                                <div class="span3">
                                    <div class="controls controls-rows">
                                        <?php echo $this->formRow($form->get('sqEstadoCivil')) ?>
                                    </div>
                                </div>
                                <div class="span6">
                                    <div class="controls controls-rows">
                                        <?php echo $this->formRow($form->get('inSexo')) ?>
                                    </div>
                                </div>
                                <div class="span3">
                                    <div class="controls controls-rows">
                                        <?php echo $this->formRow($form->get('nuFilho')) ?>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row-fluid">
                            <div class="span12">
                                <div class="span3">
                                    <div class="controls controls-rows">
                                        <?php echo $this->formRow($form->get('sqUfDadosPessoais')) ?>
                                    </div>
                                </div>
                                <div class="span6">
                                    <div class="controls controls-rows">
                                        <?php echo $this->formRow($form->get('sqCidadeDadosPessoais')) ?>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row-fluid">
                            <div class="span12">
                                <div class="controls controls-rows">
                                    <?php echo $this->formRow($form->get('noMae')) ?>
                                </div>
                            </div>
                        </div>
                        <div class="row-fluid">
                            <div class="span12">
                                <div class="controls controls-rows">
                                    <?php echo $this->formRow($form->get('noPai')) ?>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- Fim Dados Pessoais -->
<!-- Dados do Contato -->
<div class="row-fluid">
    <div class="span12 column">
        <div class="box">
            <h4 class="box-header round-top">Dados de Contato
                <a class="box-btn" title="toggle"><i class="icon-minus"></i></a>
            </h4>
            <div class="box-container-toggle">
                <div class="box-content">
                    <div class="row-fluid">
                        <div class="span12">
                            <div class="controls controls-rows">
                                <?php echo $this->formRow($form->get('nuCep')) ?>
                            </div>
                        </div>
                    </div>
                    <div class="row-fluid">
                        <div class="span12">
                            <div class="span3">
                                <div class="controls controls-rows">
                                    <?php echo $this->formRow($form->get('noEndereco')) ?>
                                </div>
                            </div>
                            <div class="span6">
                                <div class="controls controls-rows">
                                    <?php echo $this->formRow($form->get('noComplemento')) ?>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row-fluid">
                        <div class="span12">
                            <div class="span3">
                                <div class="controls controls-rows">
                                    <?php echo $this->formRow($form->get('noBairro')) ?>
                                </div>
                            </div>
                            <div class="span3">
                                <div class="controls controls-rows">
                                    <?php echo $this->formRow($form->get('sqUf')) ?>
                                </div>
                            </div>
                            <div class="span3">
                                <div class="controls controls-rows">
                                    <?php echo $this->formRow($form->get('sqCidade')) ?>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row-fluid">
                        <div class="span12">
                            <div class="span3">
                                <div class="controls controls-rows">
                                    <?php echo $this->formRow($form->get('noTelefoneFixo')) ?>
                                </div>
                            </div>
                            <div class="span6">
                                <div class="controls controls-rows">
                                    <?php echo $this->formRow($form->get('noTelefoneMovel')) ?>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row-fluid">
                        <div class="span10">
                            <div class="controls controls-rows">
                                <?php echo $this->formRow($form->get('noEmail')) ?>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- Fim Dados do Contato -->
<!-- Em caso de emergencia -->
<div class="row-fluid">
    <div class="span12 column">
        <div class="box">
            <h4 class="box-header round-top">Em caso de emergência
                <a class="box-btn" title="toggle"><i class="icon-minus"></i></a>
            </h4>
            <div class="box-container-toggle">
                <div class="box-content">
                    <div class="row-fluid">
                        <div class="span12">
                            <div class="span4">
                                <div class="controls controls-rows">
                                    <?php echo $this->formRow($form->get('noContato')) ?>
                                </div>
                            </div>
                            <div class="span3">
                                <div class="controls controls-rows">
                                    <?php echo $this->formRow($form->get('noTelefone')) ?>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- Fim Dados do Contato -->
<!-- Dados do Estágio -->
<div class="row-fluid">
    <div class="span12 column">
        <div class="box">
            <h4 class="box-header round-top">Dados do Estágio
                <a class="box-btn" title="toggle"><i class="icon-minus"></i></a>
            </h4>
            <div class="box-container-toggle">
                <div class="box-content">
                    <div id="">
                        <div class="row-fluid">
                            <div class="span12">
                                <div class="span4">
                                    <div class="controls controls-rows">
                                        <?php echo $this->formRow($form->get('noEmpresa')) ?>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div id="">
                            <div class="row-fluid">
                                <div class="span12">
                                    <div class="span4">
                                        <div class="controls controls-rows">
                                            <?php echo $this->formRow($form->get('sqInstituicaoEnsino')) ?>
                                        </div>
                                    </div>
                                    <div class="span4">
                                        <div class="controls controls-rows">
                                            <?php echo $this->formRow($form->get('nuCargaHoraria')) ?>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div id="">
                                <div class="row-fluid">
                                    <div class="span12">
                                        <div class="span4">
                                            <div class="controls controls-rows">
                                                <?php echo $this->formRow($form->get('noCurso')) ?>
                                            </div>
                                        </div>
                                        <div class="span4">
                                            <div class="controls controls-rows">
                                                <?php echo $this->formRow($form->get('nuSemestre')) ?>
                                            </div>
                                        </div>
                                        <div class="span4">
                                            <div class="controls controls-rows">
                                                <?php echo $this->formRow($form->get('nuTurno')) ?>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div id="">
                                    <div class="row-fluid">
                                        <div class="span12">
                                            <div class="span4">
                                                <div class="input-append date" id="dtInicioContrato"
                                                     data-date="<?php echo date('d/m/Y') ?>"
                                                     data-date-format="dd/mm/yyyy">
                                                         <?php echo $this->formRow($form->get('dtInicioContrato')) ?>
                                                    <span class="add-on"><i class="icon-calendar"></i> </span>
                                                </div>
                                                <div class="controls controls-rows">
                                                </div>
                                            </div>
                                            <div class="span4">
                                                <div class="controls controls-rows">
                                                    <div class="input-append date" id="dtFimContrato"
                                                         data-date="<?php echo date('d/m/Y') ?>"
                                                         data-date-format="dd/mm/yyyy">
                                                             <?php echo $this->formRow($form->get('dtFimContrato')) ?>
                                                        <span class="add-on"><i class="icon-calendar"></i> </span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row-fluid">
                                    <div class="span12">
                                        <div class="span4">
                                            <div class="controls controls-rows">
                                                <div class="input-append date" id="dtInicioContrato"
                                                     data-date="<?php echo date('d/m/Y') ?>"
                                                     data-date-format="dd/mm/yyyy">
                                                         <?php echo $this->formRow($form->get('dtInicioContrato')) ?>
                                                    <span class="add-on"><i class="icon-calendar"></i> </span>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="span4">
                                            <div class="controls controls-rows">
                                                <div class="input-append date" id="dtInicioContrato"
                                                     data-date="<?php echo date('d/m/Y') ?>"
                                                     data-date-format="dd/mm/yyyy">
                                                         <?php echo $this->formRow($form->get('dtInicioContrato')) ?>
                                                    <span class="add-on"><i class="icon-calendar"></i> </span>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="span4">
                                            <div class="controls controls-rows">
                                                <div class="input-append date" id="dtInicioContrato"
                                                     data-date="<?php echo date('d/m/Y') ?>"
                                                     data-date-format="dd/mm/yyyy">
                                                         <?php echo $this->formRow($form->get('dtInicioContrato')) ?>
                                                    <span class="add-on"><i class="icon-calendar"></i> </span>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div id="">
                                    <div class="row-fluid">
                                        <div class="span12">
                                            <div class="span4">
                                                <div class="controls controls-rows">
                                                    <?php echo $this->formRow($form->get('sqPessoaSupervisor')) ?>
                                                </div>
                                            </div>
                                            <div class="span4">
                                                <div class="controls controls-rows">
                                                    <?php echo $this->formRow($form->get('noCref')) ?>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>

                                    <div class="row-fluid">
                        <div class="span12">
                            <div class="controls controls-rows">
                                <?php echo $this->formRow($form->get('txObservacao')) ?>
                            </div>
                        </div>
                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- Fim Dados do Estágio -->
<!-- Botão -->
<div class="row-fluid">
    <div class="span12 form-actions pull-right btn-toolbar">
        <?php echo $this->formRow($form->get('cancelar')) ?>
        <?php echo $this->formRow($form->get('salvar')) ?>
    </div>
</div>
<!-- Fim Botão -->
<?php
echo $this->form()->closeTag();
?>

<script src="/js/sisesporte-admin/professor/new.js"></script>